package marmalius.command.admin;

import marmalius.Player;
import marmalius.client;
import marmalius.command.BaseCommand;

public class Test extends BaseCommand {

	public void process(Player player, String[] command) {
		player.setTeleport(3093, 3106, 0); //zone de depart
		player.TurnPlayerTo(3092, 3106); //on regarde vers le guide
		
		((client)player).sendStartInfo(
			"To start the tutorial use your left mouse button to click on the",
			"RuneScape Guide in this room. He is indicated by a flashing",
			"yellow arrow above his head. If you can't see him, use your",
			"keyboard's arrow keys to rotate the view.",
			"Getting started");
		
		((client)player).setSidebarInterface(0, -1); //combat
		((client)player).setSidebarInterface(1, -1); //stat
		((client)player).setSidebarInterface(2, -1); //Quest
		((client)player).setSidebarInterface(3, -1); //inventory
		((client)player).setSidebarInterface(4, -1); //wear stuff
		((client)player).setSidebarInterface(5, -1); //Prayer
		((client)player).setSidebarInterface(6, -1); //Spell
		//((client)player).setSidebarInterface(7, 18128); // ?
		((client)player).setSidebarInterface(8, -1); //Friends
		((client)player).setSidebarInterface(9, -1); //Ignore
		//((client)player).setSidebarInterface(10, 2449); // ?
		((client)player).setSidebarInterface(11, -1); //Option
		((client)player).setSidebarInterface(12, -1); //Player Controls
		((client)player).setSidebarInterface(13, -1); //Music
		
		((client)player).showInterface(3559); //Skin Dialogue
		/*
		 * Start Coordonne
		 * X : 3093
		 * Y : 3106
		 * H : 0
		 * DX : 3092
		 * DY : 3106
		 */
		
		/*
		if (command.length == 1) {
			int newNPC = Integer.parseInt(command[0]);
			if (NPCHandler.getInstance().checkNpcId(newNPC)) {
				NPCHandler.getInstance().newNPC(newNPC, player.getAbsX(), player.getAbsY(), player.getAbsH(), player.getAbsX() + 10, player.getAbsY() + 10, player.getAbsX() - 10, player.getAbsY() - 10, 1, NPCHandler.getInstance().GetNpcListHP(newNPC), false);
				player.sendPlayerMessage("You spawn an npc");
			}
			else
				player.sendPlayerMessage("Npc not found : "+newNPC);
		}
		*/
    
	}
	
	/*
	 * public void sendStartInfo(String text, String text1, String text2, String text3, String title) {
		c.getPA().sendFrame126(title, 6180);
		c.getPA().sendFrame126(text, 6181);
		c.getPA().sendFrame126(text1, 6182);
		c.getPA().sendFrame126(text2, 6183);
		c.getPA().sendFrame126(text3, 6184);
		c.getPA().sendFrame164(6179);
	}
	 */
	
}
